feat: allow passing command line arguments running an app in the iOS Simulator#5518
feat: allow passing command line arguments running an app in the iOS Simulator#5518rigor789 merged 3 commits intoNativeScript:masterfrom
Conversation
…imulator The `IOS_SIMULATOR_RUN_ARGS` environment variable allows specific command line arguments to be passed to the simulator when running an app. This is _extremely_ useful when working (for example) with Firebase and having to debug events or other internals: https://firebase.google.com/docs/analytics/debugview The command line arguments `-FIRDebugEnabled` and `-FIRDebugDisabled` control the behavior of Firebase in combination with its realtime event debugging console. With this patch, enabling debugging is as easy as calling: ```bash IOS_SIMULATOR_RUN_ARGS=-FIRDebugEnabled ns run ios ```
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. |
|
Hey @pfumagalli thanks for the PR, lgtm - we recently had to change our CLA and need you to fill it out again, sorry for the inconvenience - but since this was submitted with the old CLA, I'll go ahead and merge it. |
The
IOS_SIMULATOR_RUN_ARGSenvironment variable allows specific command line arguments to be passed to the simulator when running an app.This is extremely useful when working (for example) with Firebase and having to debug events or other internals:
https://firebase.google.com/docs/analytics/debugview
The command line arguments
-FIRDebugEnabledand-FIRDebugDisabledcontrol the behaviour of Firebase in combination with its realtime event debugging console.With this patch, enabling debugging is as easy as calling: